package com.example.pandaso.engines.extend;

import java.util.ArrayList;
import java.util.List;

import com.example.pandaso.engines.BaseEngine;
import com.example.pandaso.utils.HttpUtils;

public class DuckgoEngine extends BaseEngine{

    @Override
    public List<String> getTips(String keyword) {
        List<String> suggestsList = new ArrayList<String>();
        String response = HttpUtils.getEntity("http://duckduckgo.com/ac/?q="+keyword);
        // 和谷歌一样，都需要魔法，但是代码直连的不走系统代理！！！！！
        System.out.println(response);
        return suggestsList;
    }
    
}
